package cn.cjj.gulimall.auth.feign;

import cn.cjj.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author CuiJunJie
 * @create 2021/7/1-20:54
 */
@FeignClient("gulimall-third-party")
public interface SmsFeignService {
    @RequestMapping("/sms/sendcode")
    public R sendCode(@RequestParam("phone") String phone, @RequestParam("code") String code);
}
